package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallAccountRoleModel = (*customMallAccountRoleModel)(nil)

type (
	// MallAccountRoleModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallAccountRoleModel.
	MallAccountRoleModel interface {
		mallAccountRoleModel
	}

	customMallAccountRoleModel struct {
		*defaultMallAccountRoleModel
	}
)

// NewMallAccountRoleModel returns a model for the database table.
func NewMallAccountRoleModel(conn sqlx.SqlConn) MallAccountRoleModel {
	return &customMallAccountRoleModel{
		defaultMallAccountRoleModel: newMallAccountRoleModel(conn),
	}
}
